All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class quicktime.qd3d.camera.ViewAngleAspectCameraData

java.lang.Object
   |
   +----quicktime.util.QTByteObject
           |
           +----quicktime.qd3d.camera.CameraData
                   |
                   +----quicktime.qd3d.camera.ViewAngleAspectCameraData

public final class ViewAngleAspectCameraData
extends CameraData
implements PrimitivesLib
A view angle aspect camera is a perspective camera specified in terms of the minimum view angle and the aspect ratio of X to Y. refer to TQ3ViewAngleAspectCameraData in QuickDraw3d


Variable Index

 o kNativeSize
This is the size (the number of bytes) that are required for this class

Constructor Index

 o ViewAngleAspectCameraData()
Creates a ViewAngleAspectCameraData object containing no data.
 o ViewAngleAspectCameraData(CameraData, float, float)
Creates a ViewAngleAspectCameraData object containing given data.

Method Index

 o clone()
Returns a copy of this class.
 o getFov()
returns the field of view
 o setAspectRatio()
returns the aspect ratio
 o setAspectRatio(float)
sets the aspect ratio
 o setFov(float)
sets the field of view

Variables

 o kNativeSize
 public static final int kNativeSize
This is the size (the number of bytes) that are required for this class

Constructors

 o ViewAngleAspectCameraData
 public ViewAngleAspectCameraData()
Creates a ViewAngleAspectCameraData object containing no data.

 o ViewAngleAspectCameraData
 public ViewAngleAspectCameraData(CameraData cameraData,
                                  float fov,
                                  float aspectRatio)
Creates a ViewAngleAspectCameraData object containing given data.

Parameters:
camData - The camera data.
fov - The field of view
aspectRatio - The aspect ratio of x to y

Methods

 o getFov
 public float getFov()
returns the field of view

 o setAspectRatio
 public float setAspectRatio()
returns the aspect ratio

 o setFov
 public void setFov(float fov)
sets the field of view

 o setAspectRatio
 public void setAspectRatio(float aspectRatio)
sets the aspect ratio

 o clone
 public Object clone()
Returns a copy of this class.

Overrides:
clone in class CameraData

All Packages  Class Hierarchy  This Package  Previous  Next  Index